/**
 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package vn.com.fis.portal.vtcc.service;

import com.liferay.portal.kernel.util.ClassLoaderProxy;
import com.liferay.portal.kernel.util.MethodHandler;
import com.liferay.portal.kernel.util.MethodKey;

/**
 * @author loind
 */
public class SampleEntryLocalServiceClp implements SampleEntryLocalService {
	public SampleEntryLocalServiceClp(ClassLoaderProxy classLoaderProxy) {
		_classLoaderProxy = classLoaderProxy;

		_addSampleEntryMethodKey0 = new MethodKey(_classLoaderProxy.getClassName(),
				"addSampleEntry", vn.com.fis.portal.vtcc.model.SampleEntry.class);

		_createSampleEntryMethodKey1 = new MethodKey(_classLoaderProxy.getClassName(),
				"createSampleEntry", long.class);

		_deleteSampleEntryMethodKey2 = new MethodKey(_classLoaderProxy.getClassName(),
				"deleteSampleEntry", long.class);

		_deleteSampleEntryMethodKey3 = new MethodKey(_classLoaderProxy.getClassName(),
				"deleteSampleEntry",
				vn.com.fis.portal.vtcc.model.SampleEntry.class);

		_dynamicQueryMethodKey4 = new MethodKey(_classLoaderProxy.getClassName(),
				"dynamicQuery",
				com.liferay.portal.kernel.dao.orm.DynamicQuery.class);

		_dynamicQueryMethodKey5 = new MethodKey(_classLoaderProxy.getClassName(),
				"dynamicQuery",
				com.liferay.portal.kernel.dao.orm.DynamicQuery.class,
				int.class, int.class);

		_dynamicQueryMethodKey6 = new MethodKey(_classLoaderProxy.getClassName(),
				"dynamicQuery",
				com.liferay.portal.kernel.dao.orm.DynamicQuery.class,
				int.class, int.class,
				com.liferay.portal.kernel.util.OrderByComparator.class);

		_dynamicQueryCountMethodKey7 = new MethodKey(_classLoaderProxy.getClassName(),
				"dynamicQueryCount",
				com.liferay.portal.kernel.dao.orm.DynamicQuery.class);

		_fetchSampleEntryMethodKey8 = new MethodKey(_classLoaderProxy.getClassName(),
				"fetchSampleEntry", long.class);

		_getSampleEntryMethodKey9 = new MethodKey(_classLoaderProxy.getClassName(),
				"getSampleEntry", long.class);

		_getPersistedModelMethodKey10 = new MethodKey(_classLoaderProxy.getClassName(),
				"getPersistedModel", java.io.Serializable.class);

		_getSampleEntriesMethodKey11 = new MethodKey(_classLoaderProxy.getClassName(),
				"getSampleEntries", int.class, int.class);

		_getSampleEntriesCountMethodKey12 = new MethodKey(_classLoaderProxy.getClassName(),
				"getSampleEntriesCount");

		_updateSampleEntryMethodKey13 = new MethodKey(_classLoaderProxy.getClassName(),
				"updateSampleEntry",
				vn.com.fis.portal.vtcc.model.SampleEntry.class);

		_updateSampleEntryMethodKey14 = new MethodKey(_classLoaderProxy.getClassName(),
				"updateSampleEntry",
				vn.com.fis.portal.vtcc.model.SampleEntry.class, boolean.class);

		_getBeanIdentifierMethodKey15 = new MethodKey(_classLoaderProxy.getClassName(),
				"getBeanIdentifier");

		_setBeanIdentifierMethodKey16 = new MethodKey(_classLoaderProxy.getClassName(),
				"setBeanIdentifier", java.lang.String.class);

		_findBy_SN_SS_SC_CY_ON_SOC_SI_H_IM_IT_DT_IP_CP_OC_A_STRAINIDMethodKey17 = new MethodKey(_classLoaderProxy.getClassName(),
				"findBy_SN_SS_SC_CY_ON_SOC_SI_H_IM_IT_DT_IP_CP_OC_A_STRAINID",
				java.lang.String.class, java.lang.String.class,
				java.lang.String.class, java.lang.String.class,
				java.lang.String.class, java.lang.String.class,
				java.lang.String.class, java.lang.String.class,
				java.lang.String.class, java.lang.String.class,
				java.lang.String.class, java.lang.String.class,
				java.lang.String.class, java.lang.String.class,
				java.lang.String.class, int.class, boolean.class, int.class,
				int.class);

		_countBy_SN_SS_SC_CY_ON_SOC_SI_H_IM_IT_DT_IP_CP_OC_A_STRAINIDMethodKey18 = new MethodKey(_classLoaderProxy.getClassName(),
				"countBy_SN_SS_SC_CY_ON_SOC_SI_H_IM_IT_DT_IP_CP_OC_A_STRAINID",
				java.lang.String.class, java.lang.String.class,
				java.lang.String.class, java.lang.String.class,
				java.lang.String.class, java.lang.String.class,
				java.lang.String.class, java.lang.String.class,
				java.lang.String.class, java.lang.String.class,
				java.lang.String.class, java.lang.String.class,
				java.lang.String.class, java.lang.String.class,
				java.lang.String.class, int.class, boolean.class);
	}

	public vn.com.fis.portal.vtcc.model.SampleEntry addSampleEntry(
		vn.com.fis.portal.vtcc.model.SampleEntry sampleEntry)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_addSampleEntryMethodKey0,
				ClpSerializer.translateInput(sampleEntry));

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (vn.com.fis.portal.vtcc.model.SampleEntry)ClpSerializer.translateOutput(returnObj);
	}

	public vn.com.fis.portal.vtcc.model.SampleEntry createSampleEntry(
		long sampleId) {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_createSampleEntryMethodKey1,
				sampleId);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (vn.com.fis.portal.vtcc.model.SampleEntry)ClpSerializer.translateOutput(returnObj);
	}

	public void deleteSampleEntry(long sampleId)
		throws com.liferay.portal.kernel.exception.PortalException,
			com.liferay.portal.kernel.exception.SystemException {
		MethodHandler methodHandler = new MethodHandler(_deleteSampleEntryMethodKey2,
				sampleId);

		try {
			_classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
				throw (com.liferay.portal.kernel.exception.PortalException)t;
			}

			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}
	}

	public void deleteSampleEntry(
		vn.com.fis.portal.vtcc.model.SampleEntry sampleEntry)
		throws com.liferay.portal.kernel.exception.SystemException {
		MethodHandler methodHandler = new MethodHandler(_deleteSampleEntryMethodKey3,
				ClpSerializer.translateInput(sampleEntry));

		try {
			_classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}
	}

	@SuppressWarnings("rawtypes")
	public java.util.List dynamicQuery(
		com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_dynamicQueryMethodKey4,
				ClpSerializer.translateInput(dynamicQuery));

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (java.util.List)ClpSerializer.translateOutput(returnObj);
	}

	@SuppressWarnings("rawtypes")
	public java.util.List dynamicQuery(
		com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
		int end) throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_dynamicQueryMethodKey5,
				ClpSerializer.translateInput(dynamicQuery), start, end);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (java.util.List)ClpSerializer.translateOutput(returnObj);
	}

	@SuppressWarnings("rawtypes")
	public java.util.List dynamicQuery(
		com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
		int end,
		com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_dynamicQueryMethodKey6,
				ClpSerializer.translateInput(dynamicQuery), start, end,
				ClpSerializer.translateInput(orderByComparator));

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (java.util.List)ClpSerializer.translateOutput(returnObj);
	}

	public long dynamicQueryCount(
		com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_dynamicQueryCountMethodKey7,
				ClpSerializer.translateInput(dynamicQuery));

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return ((Long)returnObj).longValue();
	}

	public vn.com.fis.portal.vtcc.model.SampleEntry fetchSampleEntry(
		long sampleId)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_fetchSampleEntryMethodKey8,
				sampleId);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (vn.com.fis.portal.vtcc.model.SampleEntry)ClpSerializer.translateOutput(returnObj);
	}

	public vn.com.fis.portal.vtcc.model.SampleEntry getSampleEntry(
		long sampleId)
		throws com.liferay.portal.kernel.exception.PortalException,
			com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_getSampleEntryMethodKey9,
				sampleId);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
				throw (com.liferay.portal.kernel.exception.PortalException)t;
			}

			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (vn.com.fis.portal.vtcc.model.SampleEntry)ClpSerializer.translateOutput(returnObj);
	}

	public com.liferay.portal.model.PersistedModel getPersistedModel(
		java.io.Serializable primaryKeyObj)
		throws com.liferay.portal.kernel.exception.PortalException,
			com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_getPersistedModelMethodKey10,
				ClpSerializer.translateInput(primaryKeyObj));

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
				throw (com.liferay.portal.kernel.exception.PortalException)t;
			}

			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj);
	}

	public java.util.List<vn.com.fis.portal.vtcc.model.SampleEntry> getSampleEntries(
		int start, int end)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_getSampleEntriesMethodKey11,
				start, end);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (java.util.List<vn.com.fis.portal.vtcc.model.SampleEntry>)ClpSerializer.translateOutput(returnObj);
	}

	public int getSampleEntriesCount()
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_getSampleEntriesCountMethodKey12);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return ((Integer)returnObj).intValue();
	}

	public vn.com.fis.portal.vtcc.model.SampleEntry updateSampleEntry(
		vn.com.fis.portal.vtcc.model.SampleEntry sampleEntry)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_updateSampleEntryMethodKey13,
				ClpSerializer.translateInput(sampleEntry));

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (vn.com.fis.portal.vtcc.model.SampleEntry)ClpSerializer.translateOutput(returnObj);
	}

	public vn.com.fis.portal.vtcc.model.SampleEntry updateSampleEntry(
		vn.com.fis.portal.vtcc.model.SampleEntry sampleEntry, boolean merge)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_updateSampleEntryMethodKey14,
				ClpSerializer.translateInput(sampleEntry), merge);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (vn.com.fis.portal.vtcc.model.SampleEntry)ClpSerializer.translateOutput(returnObj);
	}

	public java.lang.String getBeanIdentifier() {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_getBeanIdentifierMethodKey15);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (java.lang.String)ClpSerializer.translateOutput(returnObj);
	}

	public void setBeanIdentifier(java.lang.String beanIdentifier) {
		MethodHandler methodHandler = new MethodHandler(_setBeanIdentifierMethodKey16,
				ClpSerializer.translateInput(beanIdentifier));

		try {
			_classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}
	}

	public java.util.List<vn.com.fis.portal.vtcc.model.SampleEntry> findBy_SN_SS_SC_CY_ON_SOC_SI_H_IM_IT_DT_IP_CP_OC_A_STRAINID(
		java.lang.String scientificName, java.lang.String sampleSynonym,
		java.lang.String sampleCode, java.lang.String catalogYear,
		java.lang.String otherName, java.lang.String sampleOtherCode,
		java.lang.String sourceIsolation, java.lang.String history,
		java.lang.String isolationMethod, java.lang.String isolationTime,
		java.lang.String depositionTime, java.lang.String isolationPerson,
		java.lang.String cellMorphology, java.lang.String otherCharacteristics,
		java.lang.String applications, int strainId, boolean andOperator,
		int start, int end)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_findBy_SN_SS_SC_CY_ON_SOC_SI_H_IM_IT_DT_IP_CP_OC_A_STRAINIDMethodKey17,
				ClpSerializer.translateInput(scientificName),
				ClpSerializer.translateInput(sampleSynonym),
				ClpSerializer.translateInput(sampleCode),
				ClpSerializer.translateInput(catalogYear),
				ClpSerializer.translateInput(otherName),
				ClpSerializer.translateInput(sampleOtherCode),
				ClpSerializer.translateInput(sourceIsolation),
				ClpSerializer.translateInput(history),
				ClpSerializer.translateInput(isolationMethod),
				ClpSerializer.translateInput(isolationTime),
				ClpSerializer.translateInput(depositionTime),
				ClpSerializer.translateInput(isolationPerson),
				ClpSerializer.translateInput(cellMorphology),
				ClpSerializer.translateInput(otherCharacteristics),
				ClpSerializer.translateInput(applications), strainId,
				andOperator, start, end);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (java.util.List<vn.com.fis.portal.vtcc.model.SampleEntry>)ClpSerializer.translateOutput(returnObj);
	}

	public int countBy_SN_SS_SC_CY_ON_SOC_SI_H_IM_IT_DT_IP_CP_OC_A_STRAINID(
		java.lang.String scientificName, java.lang.String sampleSynonym,
		java.lang.String sampleCode, java.lang.String catalogYear,
		java.lang.String otherName, java.lang.String sampleOtherCode,
		java.lang.String sourceIsolation, java.lang.String history,
		java.lang.String isolationMethod, java.lang.String isolationTime,
		java.lang.String depositionTime, java.lang.String isolationPerson,
		java.lang.String cellMorphology, java.lang.String otherCharacteristics,
		java.lang.String applications, int strainId, boolean andOperator)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_countBy_SN_SS_SC_CY_ON_SOC_SI_H_IM_IT_DT_IP_CP_OC_A_STRAINIDMethodKey18,
				ClpSerializer.translateInput(scientificName),
				ClpSerializer.translateInput(sampleSynonym),
				ClpSerializer.translateInput(sampleCode),
				ClpSerializer.translateInput(catalogYear),
				ClpSerializer.translateInput(otherName),
				ClpSerializer.translateInput(sampleOtherCode),
				ClpSerializer.translateInput(sourceIsolation),
				ClpSerializer.translateInput(history),
				ClpSerializer.translateInput(isolationMethod),
				ClpSerializer.translateInput(isolationTime),
				ClpSerializer.translateInput(depositionTime),
				ClpSerializer.translateInput(isolationPerson),
				ClpSerializer.translateInput(cellMorphology),
				ClpSerializer.translateInput(otherCharacteristics),
				ClpSerializer.translateInput(applications), strainId,
				andOperator);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return ((Integer)returnObj).intValue();
	}

	public ClassLoaderProxy getClassLoaderProxy() {
		return _classLoaderProxy;
	}

	private ClassLoaderProxy _classLoaderProxy;
	private MethodKey _addSampleEntryMethodKey0;
	private MethodKey _createSampleEntryMethodKey1;
	private MethodKey _deleteSampleEntryMethodKey2;
	private MethodKey _deleteSampleEntryMethodKey3;
	private MethodKey _dynamicQueryMethodKey4;
	private MethodKey _dynamicQueryMethodKey5;
	private MethodKey _dynamicQueryMethodKey6;
	private MethodKey _dynamicQueryCountMethodKey7;
	private MethodKey _fetchSampleEntryMethodKey8;
	private MethodKey _getSampleEntryMethodKey9;
	private MethodKey _getPersistedModelMethodKey10;
	private MethodKey _getSampleEntriesMethodKey11;
	private MethodKey _getSampleEntriesCountMethodKey12;
	private MethodKey _updateSampleEntryMethodKey13;
	private MethodKey _updateSampleEntryMethodKey14;
	private MethodKey _getBeanIdentifierMethodKey15;
	private MethodKey _setBeanIdentifierMethodKey16;
	private MethodKey _findBy_SN_SS_SC_CY_ON_SOC_SI_H_IM_IT_DT_IP_CP_OC_A_STRAINIDMethodKey17;
	private MethodKey _countBy_SN_SS_SC_CY_ON_SOC_SI_H_IM_IT_DT_IP_CP_OC_A_STRAINIDMethodKey18;
}